package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 快递公司信息表
 * </p>
 *
 * @author xiaoky
 * @since 2019-05-14
 */
@TableName("order_basic_exp")
public class OrderBasicExp extends Model<OrderBasicExp> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 快递公司代码
     */
    private String expCom;

    /**
     * 快递公司名称
     */
    private String expName;

    /**
     * 物流公司电话
     */
    private String expPhone;

    /**
     * 0有效 -1无效
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getExpCom() {
        return expCom;
    }

    public void setExpCom(String expCom) {
        this.expCom = expCom;
    }
    public String getExpName() {
        return expName;
    }

    public void setExpName(String expName) {
        this.expName = expName;
    }

    public String getExpPhone() {
        return expPhone;
    }

    public void setExpPhone(String expPhone) {
        this.expPhone = expPhone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "OrderBasicExp{" +
        "id=" + id +
        ", expCom=" + expCom +
        ", expName=" + expName +
        ", status=" + status +
        "}";
    }
}
